/**
 * Created by albert on 17/4/28.
 */


export class ProjectItemModel {
  public id:number;
  public title:string;
  public content:string;
  public address:string;
  public picture:string;
  public status:number;
  public statusName:string;
  public rent:number;
  public layoutTypeList:Array<any>;
  hover:boolean = false;

  constructor() {
  }

  gen(item:any) {
    this.hover = false;
    Object.keys(item).forEach((key)=> {
      this[key] = item[key];
    })
    return this;
  }
}
